use aws cli for automation